Introduction

NB:

  • API subject to change
  • Oanda has two versions of REST API - v1 and v20
  • The new REST API is v20
  • Still a lot of accounts use v1

Disclaimer

  • This presentation is for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation for any security; nor does it constitute an offer to provide investment advisory or other services.

  • Nothing contained herein constitutes investment advice or offers any opinion with respect to the suitability of any security, and any views expressed herein should not be taken as advice to buy, sell, or hold any security or as an endorsement of any security or company.

  • In preparing the information contained herein, the investment needs, objectives, and financial circumstances of any particular investor has not been taken into account.

  • Any views expressed and data illustrated herein were prepared based upon information, believed to be reliable, available to at the time of publication.

  • No guarantees has been made the accuracy or completeness of the information contained within.

  • All information is subject to change and may quickly become unreliable for various reasons, including changes in market conditions or economic circumstances.

Why?

In this section we look at the reasons for selecting Python as our programming language, Oanda as our platform for trading forex and algorithmic trading instead of discretionary trading.

Why Python?

Reasons for using Python for algorithmic trading:

  • Rapid prototyping
  • Extremely popular for data science
  • Heavily use for web design / development
  • Extremely fast for prototyping, concept testing and great for low to medium frequency trading
  • Used widely by Hedge funds. Check out AHL, AQR etc
  • Rich universe of modules and libraries supporting technical analysis, machine learning, artificial intelligence, data analytics etc.
  • Portability. Not locked up to single platform

Why Algorithmic Trading?

  • Automated. Easy to diagnose the root problem
  • Lend itself to scientific approach very well
  • No cognitive bias
  • Advanced in technology, data, and software removed the barriers that used to exclude the general public

Why Oanda?

  • API.
  • Diverse trading universe

Why FX Trading?

  • Liquidity
  • 24/7
  • Leverage